/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Utilidades;

import java.util.Collection;

/**
 *
 * @author Administrador
 */
public class Coleccion {

    public static Collection llenar(final Collection c, Object[] array){

        for (int i = 0; i < array.length; i++) {
            Object object = array[i];
            c.add(object);
        }
        return c;
    }

}
